/**
 * @author kristian
 */
var ruleSetConfig_person_company = {
	name: 'person_company',
	// global pathType used if not overriden by ruleSet of objType
    pathType: 'jpath', // default is 'xpath', using jsonPath library
    
	// global branchTypes used if not overriden by ruleSet of objType
    branchTypes: {
        'folder': {
            icon: 'default_folder.png',
            state: 'closed'
        }
    },
    
    // Each key in ruleSets is assigned a ruleSet matching an objType (see selectObjType)    
	// Each ruleSet can override generatorRuleSet "global" settings
    ruleSets: {
        'person': ruleSet_person,
        'company': ruleSet_company
    },
    
    // global iconsPath used if not overriden by ruleSet of objType		  
    iconsPath: 'images/user',
    
    // define which ruleSets are enabled
    ruleSetsEnabled: ['person', 'company'],
    
    // define which ruleSets are disabled
    schemasDisabled: [],
    
    selectObjType: selectObjType,
    
    /*  whether to expect the selectId function to generate a {id: .'myId' , uniqueId: 'myUniqueId' }
    	if false, selectId is expected to simply return a string used as the id for the node
    	this can cause multiple nodes to have the same id, which means the will all react 
		simultaneously to any jsTree action by id
	*/
    useUniqueId: false,
	
	// default state of jsTree nodes generated 
	// if not overriden by local ruleSet or match found in openList
    defaultState: 'open'
};